/*
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 */

/*
 * Copyright (c) 2014, Joyent, Inc.
 */

#notifications {
  margin-left: -(@sidebar-width);
  position: fixed;
  text-align: center;
  margin-top: 46px;
  z-index: @zindex-navbar-fixed;
  width: 75%;
  left: 25%;

  a {
    position: absolute;
    cursor: pointer;
    right: 15px;
    color: @gray-dark;
  }
  .notification {
    width: auto;
    margin: 0 auto;
    min-width: 600px;
    padding: 10px;

    &.success {
      color: @alert-success-text;
      border: 1px solid @alert-success-border;
      background: @alert-success-bg; }
    &.error {
      color: @alert-danger-text;
      border: 1px solid @alert-danger-border;
      background: @alert-danger-bg; }
    &.info {
      color: @alert-info-text;
      border: 1px solid @alert-info-border;
      background: @alert-info-bg;
    }
    &.warn {
      color: @alert-warning-text;
      border: 1px solid @alert-warning-border;
      background: @alert-warning-bg; }
  }
}
